package com.smh.a07ApIDemo7;

public class Test {
    public static void main(String[] args) {
        //从1970年1月1日8:00到现在毫秒(东八区)
        System.out.println(System.currentTimeMillis());
        //System.exit(0);


        int[] arr = {0,1,2,3,4,5,6,7,8,9};
        int[] newarr=new int[10];
        System.arraycopy(arr,7,newarr,2,3);
        for (int i = 0; i < newarr.length; i++) {
            System.out.println(newarr[i]);
        }
//        System.out.println(newarr[0]);
    }
}
